import { createApp } from "vue";

import App from "./App.vue";
import router from "./router";
import { store } from "./store";

// 初始化 css
import "normalize.css/normalize.css";
import "@/assets/styles/base.scss";
import "@/assets/styles/index.scss";

// svg icon sprite
import "virtual:svg-icons-register";

import { registerGlobCom } from "@/common/registerGlobCom";

const app = createApp(App);

registerGlobCom(app);
app.use(store);
app.use(router);

app.mount("#app");
